Learning a Random DFA from Uniform Strings and State Information
نویسندگان
چکیده
Deterministic finite automata (DFA) have long served as a fundamental computational model in the study of theoretical computer science, and the problem of learning a DFA from given input data is a classic topic in computational learning theory. In this paper we study the learnability of a random DFA and propose a computationally efficient algorithm for learning and recovering a random DFA from uniform input strings and state information in the statistical query model. A random DFA is uniformly generated: for each state-symbol pair (q ∈ Q, σ ∈ Σ), we choose a state q′ ∈ Q with replacement uniformly and independently at random and let φ(q, σ) = q′, where Q is the state space, Σ is the alphabet and φ is the transition function. The given data are stringstate pairs (x, q) where x is a string drawn uniformly at random and q is the state of the DFA reached on input x starting from the start state q0. A theoretical guarantee on the maximum absolute error of the algorithm in the statistical query model is presented. Extensive experiments demonstrate the efficiency and accuracy of the algorithm.
منابع مشابه
Evidence Driven State Merging with Search
During last year's Abbadingo competition, two people showed how to improve the average-case performance of state merging algorithms for DFA learning. Rodney Price obtained a big improvement by discovering a good order for performing merges. Hugues Juill e obtained a bigger improvement at greater cost by wrapping a stochastic search around a state merging algorithm. Here we establish a new high-...
متن کاملHow Considering Incompatible State Mergings May Reduce the DFA Induction Search Tree
A simple and eeective method for DFA induction from positive and negative samples is the state merging method. The corresponding search space may be tree-structured, considering two subspaces for a given pair of states: the subspace where states are merged and the subspace where states remain diierent. Choosing diierent pairs leads to diierent sizes of space, due to state mergings dependencies....
متن کاملLearning DFA: evolution versus evidence driven state merging
Learning Deterministic Finite Automata (DFA) is a hard task that has been much studied within machine learning and evolutionary computation research. This paper presents a new method for evolving DFAs, where only the transition matrix is evolved, and the state labels are chosen to optimize the fit between final states and training set labels. This new procedure reduces the size and in particula...
متن کاملState-Merging DFA Induction Algorithms with Mandatory Merge Constraints
Standard state-merging DFA induction algorithms, such as RPNI or Blue-Fringe, aim at inferring a regular language from positive and negative strings. In particular, the negative information prevents merging incompatible states: merging those states would lead to produce an inconsistent DFA. Whenever available, domain knowledge can also be used to extend the set of incompatible states. We introd...
متن کاملPseudorandomness, Volume 46, Number 10
T his essay considers finite objects, encoded by binary finite sequences called strings. When we talk of distributions we mean discrete probability distributions having a finite support that is a set of strings. Of special interest is the uniform distribution, which for a length parameter n (explicit or implicit in the discussion), assigns each n-bit string x ∈ {0,1}n equal probability (i.e., p...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015